package com.bd.scm.module.authority.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bd.scm.domain.dto.authority.AuthorityDto;
import com.bd.scm.domain.models.authority.Authority;

import java.util.List;

/**权限管理Service
 * @ClassName AuthorityService
 * @Description TODO
 * @Author YH
 * @Date 2020/5/7 0007 14:47
 * @Version 1.0
 **/
public interface AuthorityService extends IService<Authority> {

  /**
   * 根据登录人分组编号与菜单编号查询权限
   * @param authorityDto groupNo 登录人分组编号 menuBh 菜单编号
   * @return 权限代码
   */
  List<JSONObject> findAuthorityMenuSet(AuthorityDto authorityDto);
}
